function createTime(ctimeMs){
    var date2 = new Date(ctimeMs);
    console.log(date2.getFullYear()+'.'+date2.getMonth()+'.'+date2.getDay())
}
const fs = require('fs');
const path = require('path');
var filePath = path.join(__dirname,'/1.txt');
var fileObj = fs.statSync(filePath);
console.log(fileObj)
var ctimeMs = fileObj.ctimeMs;
var date1 = new Date(ctimeMs);
console.log(date1.getFullYear())
createTime(ctimeMs);